package com.magicborrow;

/**
 * Created by River on 6/8/15.
 */
public class Constants {

    /*public static final boolean DEBUG = true;*/
    public static final String CODE_TYPE = "utf-8";
    public static final boolean DEBUG = true;
    public static final String SP_NAME = "magicborrow_file";
    public static final String TOTALCOUNT = "total_count";
    public static final String APPLY = "apply";
    public static final String BORROW = "borrow";
    public static final String CLAIM = "claim";
    public static final String DONE = "done";
    public static final String MESSAGES = "message";
    // http://123.57.227.58:8501/api/ios/
//    public  static final String ADDRESS = "http://123.56.253.139";
    public  static final String ADDRESS ="http://www.mojoy.cc";

//    public  static final String ADDRESS = "http://101.201.78.24/admin";
    //  private static final String ADDRESS = "http://192.168.1.129:8074";

    private static final String HOST = ADDRESS + "/api";
    public static final String URL_GET_STUFF_LIST = HOST + "/search/find_ware";
    public static final String URL_GET_WANGT_BORROWING_LIST = HOST + "/search/find_borrow";
    public static final String URL_GET_TAG_LIST = HOST + "/tag/list";
    public static final String URL_GET_WARE = HOST + "/ware/";

    public static final String URL_GET_COMMENT_LIST = HOST + "/comment/list";
    public static final String URL_GET_COMMENT_DELETE= HOST + "/comment/delete";
    public static final String URL_POST_PUSH_STUFF = HOST + "/ware/post";
    public static final String URL_GET_DELEATE_STUFF = HOST + "/ware/delete";
    public static final String URL_POST_CHECK_PASSWORD= HOST + "/uc/check_password";
    public static final String URL_POST_PUSH_BORROWING = HOST + "/borrow/post";
    public static final String URL_POST_UPDATE_BORROWING = HOST + "/borrow/update";
    public static final String URL_POST_I_BORROWING = HOST + "/apply/produce";
    public static final String URL_GET_LOGIN = HOST + "/login";
    public static final String GET_CHECK_CODE = HOST + "/sms_get";
    public static final String REGISTER_URL = HOST + "/reg";
    public static final String URL_FOTGET_PASSWORD = HOST + "/forget_password";
    public static final String CHECK_CODE_URL = HOST + "/sms_verify";
    public static final String CHECK_WE_CHAT_PHONE = HOST + "/3rd/bind";
    public static final String CHECK_UPDATE_MOBILE = HOST + "/uc/update_mobile";
    public static final String MY_APPLY_URL = HOST + "/apply";
    public static final String SEARCH_URL = HOST + "/search";
    public static final String URL_GET_PUBLISH_LIST = HOST + "/ware/publish_list";
    public static final String URL_POST_BORROW_GIVE = HOST + "/borrow/give";
    public static final String HOME_ITEM_URL = HOST + "/search/ware_hot";
    public static final String HOME_HEAD_INDEX_URL = HOST + "/index/header";
    public static final String TAG_LIST_URL = HOST + "/search/find_ware";
    public static final String HOT_WARE_URL = HOST + "/search/ware_hot";
    public static final String NEAR_WARE_URL = HOST + "/search/ware_hot";
    public static final String URL_GET_CAN_BORROW = HOST + "/borrow/wares";
    public static final String URL_GET_UPDATE_STUFF = HOST + "/ware/update";
    public static final String URL_GET_CONLLECTION = HOST + "/favor/do";
    public static final String URL_GET_COMPLAINTS = HOST + "/report/add";
    public static final String URL_GET_UN_CONLLECTION = HOST + "/favor/undo";
    public static final String GET_FAVERITE_URL = HOST+"/favor/list";
    public static final String I_BORROW_URL = HOST+"/apply/borrow";
    public static final String MY_COMMENT_URL = HOST+"/apply/comment";
    public static final String ADD_COMMENT_URL = HOST+"/comment/add";
    public static final String APPEND_COMMENT_URL = HOST+"/comment/append";
    public static final String GET_PUBLISH_LIST_URL = HOST+"/ware/publish_list";
    public static final String GET_DRAFT_LIST_URL = HOST +"/ware/draft_list";
    public static final String ONE_KEY_PUBLISHE = HOST+"/ware/post";
    public static final String PUBLISH_BORROW_URL = HOST+"/borrow/publish_list";
    public static final String PUBLISH_DRAFT_RENT_URL = HOST+"/borrow/draft_list";
    public static final String ONEKEY_PUBLISH_BEGBORROW_URL = HOST+"/borrow/post";
    public static final String URL_GET_PAYINFO = HOST+"/pay/ali_sign_pay_request";
    public static final String URL_GET_CLAIM_PAYINFO = HOST+"/pay/ali_sign_claim_request";
    public static final String PEIFU_URL = HOST+"/apply/claim";
    public static final String FLOW_CONTROL = HOST + "/apply/do";
    public static final String DELETE_ORDER_URL = HOST+"/apply/delete";
    public static final String APPLY_AGAIN_URL = HOST + "/apply/again";
    public static final String MY_ACCOUNT_URL = HOST+"/account";
    public static final String WITHDRAW_URL = HOST+"/account/withdraw";

    //我的申请---->发送
    public static  final  String URL_GET_APPLY_SEND = HOST+"/apply";
    //修改密码
    public static  final  String URL_GET_MODIFY_PWD = HOST+"/uc/update_passwd";
    //主页
    public static  final  String HOME_PAGE = HOST+"/uc/home";

    //微信登录
    public static  final  String LOGIN_WECHAT = HOST+"/3rd/wx_login";

    //修改个人资料
    public static  final  String URL_POST_PERSON_INFO = HOST+"/uc/update";

    //获取学校列表
    public static  final  String URL_GET_SCHOOLLIST = HOST+"/university/list";

    //获取图片验证码
    public static  final  String URL_GET_IMAGECODE = HOST+"/stu/captcha";

    //验证学号
    public static  final  String URL_GET_STUCODE = HOST+"/stu/verify";

    public static final int REQUEST_ONE=0;
    public static final int REQUEST_TWO=1;
    public static final int REQUEST_THREE=2;
}
